package com.javasm.boot.oauth2.entity.vo;

import com.javasm.boot.oauth2.entity.OauthUser;
import com.javasm.boot.oauth2.entity.Permission;
import com.javasm.boot.oauth2.entity.Role;
import com.javasm.boot.oauth2.entity.RolePermission;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * Author：MoDebing
 * Version：1.0
 * Date：2022-12-22-11:50
 * Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVO implements Serializable {

    private static final long serialVersionUID = -1;

    private OauthUser user;

    private List<Permission> permissions;

    private List<RolePermission> rolePermissions;

    private List<Role> role;
}
